<!--全部商品分类 begin-->
<div class="sort">
    <a href="<{$config.weburl}>/?m=product&s=list" target="_blank" class="sort-ti">全部商品分类</a>
    <div class="sort-list">
        <ul>
            <{foreach item=vo from=$cat key=key}>
            <li class="">
                <{if $vo.catid == 1008}>
                <a href="<{$config.weburl}>/?m=news&s=list" target="_blank" class="sort-list-<{$key+1}> lnk" ><span><{$vo.cat}></span></a>
                <{elseif $vo.catid == 1009}>
                <a href="<{$config.weburl}>/?m=news&s=list_article" target="_blank" class="sort-list-<{$key+1}> lnk" ><span><{$vo.cat}></span></a>
                <{else}>
                <a href="<{$config.weburl}>/?m=product&s=list&id=<{$vo.catid}>" target="_blank" class="sort-list-<{$key+1}> lnk" ><span><{$vo.cat}></span></a>
                <{/if}>
                <{if $vo.catid != 1008 &&  $vo.catid != 1009}>
                <div class="sort-layer">
                    <a class="ri-close" href="javascript:void(0)">关闭</a>
                    <dl class="layer-top">
                        <dt><{$vo.cat}></dt>
                        <dd>
                            <span>&gt;</span>
                            <{foreach item=vv from=$vo.sub_cat}>
                            <a href="<{$config.weburl}>?m=product&s=list&id=<{$vv.catid}>" target="_blank" ><{$vv.cat}></a><i>|</i>
                            <{/foreach}>

                        </dd>
                    </dl>
                    <div class="layer-info">
                        <div class="layer-hd">相关热门</div>
                        <ul class="showlist">
                            <{foreach item=vv from=$vo.product_list}>
                            <li class="img">
                                <a  href="<{$config.weburl}>/?m=product&s=detail&id=<{$vv.id}>"  title="<{$vv.ftitle}>" class="img">
                                <img src="<{$vv.pic}>" height="198" width="145"></a>
                                <a  href="<{$config.weburl}>/?m=product&s=detail&id=<{$vv.id}>" target="_blank" title="<{$vv.ftitle}>" class="title"><{$vv.ftitle}></a>
                                <span class="price">票价：<strong><i class="yen">¥</i><{$vv.price}></strong></span>
                            </li>
                            <{/foreach}>
                        </ul>
                    </div>
                </div>
                <{/if}>

            </li>
            <{/foreach}>
        </ul>
    </div>
</div>
<!--全部商品分类 end-->